Skip to main content

Update Business Pickup Address

PATCH /api/v1/businesses/{businessId}/pickup-addresses/{addressId}

Description​

Update the pickup address for a business.

Path Parameters​

NameTypeDescription
businessIdstringThe ID of the business (path)
addressIdstringThe ID of the address (path)

Request Body​

  • Content Type: application/json
{
"address": "string",
"country": {
"name": "string",
"code": "string",
"currency": "string"
},
"state": {
"name": "string",
"code": "string"
},
"lga": {
"name": "string",
"code": "string"
},
"latitude": 0,
"longitude": 0
}

Response Code: 200 - OK​

Description

The pickup address was updated successfully.

Headers​

Content-TypeValue
apiKey{{apiKey}}

Body​

{
"address": "123 Main St",
"country": {
"name": "Nigeria",
"code": "NG",
"currency": "NGN"
},
"state": {
"name": "Lagos",
"code": "LA"
},
"lga": {
"name": "Ikeja",
"code": "IKJ"
},
"latitude": 6.5244,
"longitude": 3.3792
}

🔑 Authentication bearer​

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/businesses/{businessId}/pickup-addresses/{addressId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!